import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";


const routes:Array<RouteRecordRaw> = [
    { 
        path:'/',
        name:'InvestAdd',
        component:()=>import('../components/InvestAdd.vue')
    },
    { 
        path:'/InvestShow',
        name:'InvestShow',
        component:()=>import('../components/InvestShow.vue')
    },
]

const router = createRouter({
    history:createWebHistory(),
    routes
})

export default router   

